// 全局变量，挂载于Vue._GLOBAL
const debugFlag = localStorage.getItem('app_debug')

var api = ''
if(process.env.NODE_ENV === 'development') api = '/api'
if(debugFlag) {
  api = `https://${debugFlag === '1' ? 'de' : ''}dstc.isart.me/api`
}
export default {
  api,
  qiniuPic: 'http://twst.isart.me/',
}
